extends mixins/_layout
block content
	body
		// 头部
		include mixins/_header_t.jade
		.main-content
			.row.row-margin-bottom
				.container
					.position-tips
							p.nomargin
								a(href='./', target='_blank') 首页
								|  > 资料下载
					.news-title
						h3.nomargin 资料下载
					.news-demo.edu-white-bg(style="margin-top:30px;")
						if downloadList.length ==0
							div(style="text-align:center;line-height:300px;") 暂时找不到数据
						.media(style="padding:30px;overflow:hidden;")
							each  item in downloadList
								.downlist(style="padding:20px;float:left;width:25%;border:1px dashed #eee;text-align:center;margin-left:-1px;")
									h4.media-heading.edu-gray1-c(style="line-height:25px;height:60px;padding-bottom:10px;display:block;") #{item.name}
									a.golink(href='#{item.dataLink.indexOf("attachment") == -1?"/attachment/"+item.dataLink:item.dataLink}',style="margin:0 auto") 下载
						div(style='margin: 20px;overflow:hidden;')
							if downloadList.length > 0
								.row
									.col-md-4.hidden-xs.hidden-sm.text-left(style='line-height:30px;')
										| 总共&nbsp;#{pagesize}&nbsp;条记录
									.col-xs-12.col-sm-12.col-md-8.text-right
										.paging_bootstrap.pagination.text-right
											| !{laypage}
		//底部
		include mixins/_footer.jade
